#pragma once

#define BOOST_BIND_ENABLE_STDCALL
#include <boost/shared_ptr.hpp>
#include <string>

namespace rdc_transport
{
    typedef boost::shared_ptr<boost::remove_pointer<HANDLE>::type> HandleGuard;

    HandleGuard OpenChannel(std::string& name);
    void GetChannelFile(HANDLE& file,  HANDLE connection);
    
    bool ChannelDoesExist(const char* szChannelName);	
}
